# -*-shell-script-*-

[Meta]
RootName: @www.public.iastate.edu/~chris129/code/ejourn/ejourn-:$SOFTWAREVERSION
DisplayName: eJourn Electronic Encrypted Journal
ShortName: eJourn
Maintainer: Chris  <MA_D> Hilton
Packager: Chris Hilton <chris129@cs.iastate.edu>
Summary: eJourn (uh-journ) is a journal management  program.
URL: http://www.public.iastate.edu/~chris129/code/ejourn/
License: GNU General Public License, Version 2
SoftwareVersion: 0.4.0
AutopackageTarget: 0.4.0

# Only uncomment InterfaceVersion if your package exposes interfaces to other software,
# for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
# or ask on autopackage-dev if you don't understand interface versioning in autopackage.
#
# InterfaceVersion: 0.0

[Description]
eJourn (uh-journ) is a journal management  program.

[BuildPrepare]
./configure --prefix=$build_root DYNAMIC
make install


[Imports]
echo '*' | import
#echo $build_root/lib/libejourn.so | import
#echo $build_root/lib/libejourn.so.1 | import
#echo $build_root/bin/ejourn | import
#echo $build_root/bin/ejourn-gui | import
#echo $build_root/share/ejourn/img/ejourn.png | import
#echo $build_root/share/ejourn/page/latex.html | import
#echo $build_root/share/ejourn/modules/cli_integration.so | import
#echo $build_root/share/ejourn/modules/mult_journ.so | import

[Prepare]
# Dependency checking
#require @whatever.you/need 1.0
require @gnupg.org/libgcrypt 11
require @gtk.org/gtk 2.6

[Install]
# Put your installation script here
installExe bin/ejourn
installExe bin/ejourn-gui
installLib lib/libejourn.so
#installLib lib/libejourn.so.1 
copyFiles share/ejourn $PREFIX/share

echo "Type ejourn-gui to run the program!"

#mkdir -p ./share
#mkdir -p ./share/ejourn
#installData share/ejourn
#installData share/ejourn/img
#installData share/ejourn/page
#installData share/ejourn/modules


[Uninstall]
# Usually just the following line is enough to uninstall everything
uninstallFromLog
